package innerclass;
public class InnerClass {
    class Person{

        private int id;
        private String no="999999";
        private String account;
        public String accountbalance(){
            return no;
        }

    }

    class Dog{
        private String name;
        Dog(String name){
            this.name=name;
        }
        public String getName(){
            return name;
        }
    }
    public void ship(String dest){
        Person person=new Person();
        Dog dog=new Dog(dest);
        System.out.println(dog.getName());
    }

    public static void main(String[] args) {
        InnerClass innerClass=new InnerClass();
        innerClass.ship("旦旦");
    }




}
